package com.ftg.learn.springboot.demo.mapper;

import com.ftg.learn.springboot.demo.pojo.apply;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface applyMapper {

	@Insert("insert into apply(aid, aname, alogo, ainfo, username, phone, aemail, awebsite, builddate, astate) values(#{aid},#{aname},#{alogo},#{ainfo}," +
			"#{username},#{phone},#{aemail},#{awebsite}," +
			"#{builddate},#{astate})")
	int add(apply apply);
}
